package com.hlf.modules.merchant.order.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Order {
    private Long id;

    private Long addOrderId;

    private Long merchantId;

    private String merchantName;

    private Long storeId;

    private String storeName;

    private Long tableId;

    private Long oldTableId;

    private String dinnerNum;

    private Long oprateId;

    private String cashierName;

    private Long memberId;

    private String openId;

    private Long orderNum;

    private String upOrderNum;

    private Byte payType;

    private Date payTime;

    private Integer totalAmt;

    private Integer discountAmt;

    private Integer payAmt;

    private BigDecimal fee;

    private Byte payStatus;

    private Byte cancelStatus;

    private Byte returnStatus;

    private Byte refundStatus;

    private String responseCode;

    private Long couponId;

    private Byte couponFlag;

    private String couponName;

    private Byte memberLevelFlag;

    private String remarks;

    private Date insertDate;

    private Long lastUpdateBy;

    private Date lastUpdateDate;

    private Byte delFlag;

    private String goodsNum;

    private String tableNum;

    private String oldTableNum;

    private Byte orderSource;

    public Byte getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(Byte orderSource) {
        this.orderSource = orderSource;
    }

    public String getOldTableNum() {
        return oldTableNum;
    }

    public void setOldTableNum(String oldTableNum) {
        this.oldTableNum = oldTableNum;
    }

    public String getTableNum() {
        return tableNum;
    }

    public void setTableNum(String tableNum) {
        this.tableNum = tableNum;
    }

    public Long getOldTableId() {
        return oldTableId;
    }

    public void setOldTableId(Long oldTableId) {
        this.oldTableId = oldTableId;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    private List<OrderDetail> orderDetails;

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Long getAddOrderId() {
        return addOrderId;
    }

    public void setAddOrderId(Long addOrderId) {
        this.addOrderId = addOrderId;
    }

    public List<OrderDetail> getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(List<OrderDetail> orderDetails) {
        this.orderDetails = orderDetails;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Long getTableId() {
        return tableId;
    }

    public void setTableId(Long tableId) {
        this.tableId = tableId;
    }

    public String getDinnerNum() {
        return dinnerNum;
    }

    public void setDinnerNum(String dinnerNum) {
        this.dinnerNum = dinnerNum;
    }

    public Long getOprateId() {
        return oprateId;
    }

    public void setOprateId(Long oprateId) {
        this.oprateId = oprateId;
    }

    public String getCashierName() {
        return cashierName;
    }

    public void setCashierName(String cashierName) {
        this.cashierName = cashierName;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public String getUpOrderNum() {
        return upOrderNum;
    }

    public void setUpOrderNum(String upOrderNum) {
        this.upOrderNum = upOrderNum;
    }

    public Byte getPayType() {
        return payType;
    }

    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getTotalAmt() {
        return totalAmt;
    }

    public void setTotalAmt(Integer totalAmt) {
        this.totalAmt = totalAmt;
    }

    public Integer getDiscountAmt() {
        return discountAmt;
    }

    public void setDiscountAmt(Integer discountAmt) {
        this.discountAmt = discountAmt;
    }

    public Integer getPayAmt() {
        return payAmt;
    }

    public void setPayAmt(Integer payAmt) {
        this.payAmt = payAmt;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public Byte getCancelStatus() {
        return cancelStatus;
    }

    public void setCancelStatus(Byte cancelStatus) {
        this.cancelStatus = cancelStatus;
    }

    public Byte getReturnStatus() {
        return returnStatus;
    }

    public void setReturnStatus(Byte returnStatus) {
        this.returnStatus = returnStatus;
    }

    public Byte getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Byte refundStatus) {
        this.refundStatus = refundStatus;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public Byte getCouponFlag() {
        return couponFlag;
    }

    public void setCouponFlag(Byte couponFlag) {
        this.couponFlag = couponFlag;
    }

    public Byte getMemberLevelFlag() {
        return memberLevelFlag;
    }

    public void setMemberLevelFlag(Byte memberLevelFlag) {
        this.memberLevelFlag = memberLevelFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getCouponName() {
        return couponName;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", addOrderId=" + addOrderId +
                ", merchantId=" + merchantId +
                ", merchantName='" + merchantName + '\'' +
                ", storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", tableId=" + tableId +
                ", oldTableId=" + oldTableId +
                ", dinnerNum='" + dinnerNum + '\'' +
                ", oprateId=" + oprateId +
                ", cashierName='" + cashierName + '\'' +
                ", memberId=" + memberId +
                ", openId='" + openId + '\'' +
                ", orderNum=" + orderNum +
                ", upOrderNum='" + upOrderNum + '\'' +
                ", payType=" + payType +
                ", payTime=" + payTime +
                ", totalAmt=" + totalAmt +
                ", discountAmt=" + discountAmt +
                ", payAmt=" + payAmt +
                ", fee=" + fee +
                ", payStatus=" + payStatus +
                ", cancelStatus=" + cancelStatus +
                ", returnStatus=" + returnStatus +
                ", refundStatus=" + refundStatus +
                ", responseCode='" + responseCode + '\'' +
                ", couponId=" + couponId +
                ", couponFlag=" + couponFlag +
                ", couponName='" + couponName + '\'' +
                ", memberLevelFlag=" + memberLevelFlag +
                ", remarks='" + remarks + '\'' +
                ", insertDate=" + insertDate +
                ", lastUpdateBy=" + lastUpdateBy +
                ", lastUpdateDate=" + lastUpdateDate +
                ", delFlag=" + delFlag +
                ", goodsNum='" + goodsNum + '\'' +
                ", tableNum='" + tableNum + '\'' +
                ", oldTableNum='" + oldTableNum + '\'' +
                ", orderSource=" + orderSource +
                ", orderDetails=" + orderDetails +
                '}';
    }
}